package com.riant.mybatis.dao;

import com.riant.mybatis.bean.WebSite;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface WebSiteMapper {
    WebSite selectWebSiteById(int id);
    List<WebSite> selectAllWebSite();
    Integer insertWebSite(WebSite webSite);
    Integer deleteById(int id);
    Integer updateWebSiteById(WebSite webSite);
}
